package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据库信息对象 sys_database_wjh
 * 
 * @author ruoyi
 * @date 2025-10-31
 */
public class SysDatabaseWjh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据库ID */
    private Long databaseId;

    /** 数据库名称 */
    @Excel(name = "数据库名称")
    private String databaseName;

    /** 图标地址 */
    @Excel(name = "图标地址")
    private String icon;

    /** 数据库类型（0关系型 1非关系型） */
    @Excel(name = "数据库类型", readConverterExp = "0=关系型,1=非关系型")
    private String dbType;

    /** 部署方式 */
    @Excel(name = "部署方式")
    private String deployType;

    /** 数据库描述 */
    @Excel(name = "数据库描述")
    private String description;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDatabaseId(Long databaseId) 
    {
        this.databaseId = databaseId;
    }

    public Long getDatabaseId() 
    {
        return databaseId;
    }

    public void setDatabaseName(String databaseName) 
    {
        this.databaseName = databaseName;
    }

    public String getDatabaseName() 
    {
        return databaseName;
    }

    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    public void setDbType(String dbType) 
    {
        this.dbType = dbType;
    }

    public String getDbType() 
    {
        return dbType;
    }

    public void setDeployType(String deployType) 
    {
        this.deployType = deployType;
    }

    public String getDeployType() 
    {
        return deployType;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("databaseId", getDatabaseId())
            .append("databaseName", getDatabaseName())
            .append("icon", getIcon())
            .append("dbType", getDbType())
            .append("deployType", getDeployType())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
